//
//  HYQViewController.m
//  HYQWebkit
//
//  Created by zxj1989 on 08/20/2018.
//  Copyright (c) 2018 zxj1989. All rights reserved.
//

#import "HYQViewController.h"
#import "HYQWebView.h"
#import "HYQTestWebViewController.h"

@interface HYQViewController ()

@property (nonatomic, strong) HYQWebView *webView;

@end

@implementation HYQViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    
    
    
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    HYQTestWebViewController *testVC = [HYQTestWebViewController new];
    testVC.url = @"http://10.10.76.16:8020/template/hotyq7.0.0/view/template/html-template.html";
    testVC.viewId = @"test1";
    UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:testVC];
    [self presentViewController:nav animated:YES completion:NULL];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
